package com.stu.service;

import com.stu.pojo.User;
import java.util.List;
/**
 * @author zy
 * @date 2025/4/12
 */
public interface UserService {

    User createUser(User user);

    boolean updateUser(User user);

    boolean deleteUser(Integer userId);

    User getUserById(Integer userId);

    User getUserByUserName(String userName);

    List<User> getAllUsers();

    boolean changeUserStatus(Integer userId, Integer status);

    User login(String account, String password);
}
